﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace study.Departments
{
    [Table("Department")]
    public class Department: FullAuditedEntity
    {
        [Required]
        [StringLength(64)]
        public string Code { get; set; }
        [Required]
        [StringLength(128)]
        public string Name { get; set; }
    }
}
